/*
 * pmod_enc.h
 *
 *  Created on: Mar 10, 2015
 *  Author: 	Abhishek Malik
 *
 * this is the header file for the high/low level driver for the PMODENC
 * for more details read the c file or the document
 */

#ifndef PMOD_ENC_H_
#define PMOD_ENC_H_

#include <stdio.h>
#include <stdlib.h>
#include "xil_types.h"
#include "xgpio.h"
#include "xparameters.h"

// parameters to be read by the c file
#define 		but_press		1
#define 		sw_press		2
#define 		clock			3
#define 		aclock			4
#define			MAX_VAL			99
#define			MIN_VAL			0

int read_In_Gpio_ENC(XGpio * GpioInst);

#endif /* PMOD_ENC_H_ */
